package com.lf.data.check;

public class ConfigCheck extends Check {

	private String name = "\\w+";
	private String description = ".+";
	private String property = "\\w+";
	private String value = ".*";

	public boolean checkName(String name) {
		return check(this.name, name);
	}

	public boolean checkDescription(String description) {
		return check(this.description, description);
	}

	public boolean checkProperty(String property) {
		return check(this.property, property);
	}

	public boolean checkValue(String value) {
		return check(this.value, value);
	}

	public String getName() {
		return name;
	}

	public String getDescription() {
		return description;
	}

	public String getProperty() {
		return property;
	}

	public String getValue() {
		return value;
	}

}
